Could not query the table.
SELECT id FROM tb_categories WHERE purl = '' shot.html_url '' AND pid = ''1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'shot.html_url '' AND pid = ''' at line 1